home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1996 June / macformat-038.iso / Floppy / Floppy Facelift 1.0 / Floppy Facelift about next >
Encoding:
Text File  |  1996-03-27  |  2.7 KB  |  48 lines  |  [ttro/ttxt]

  1.  
  2. Floppy Facelift 1.0 © 1996 Reinder Verlinde
  3.  
  4. What it does:
  5.  
  6. Install this INIT in your extensions folder and restart. If you now insert a floppy, it will have a colourful icon. This change is permanent. If you give the disk to someone who is not running Floppy Facelift, the icon stays coloured.
  7.  
  8. Advantages over other coloured-floppy-icon utilities:
  9.  
  10. There are other utilities which do a similar thing, but I think Floppy Facelift is better than the other ones. Here are my reasons for this:
  11.  
  12. Floppy Facelift permanently changes the floppy, so that it will show up with colours on any Mac (as long as it is running System 7.5 or later).
  13.  
  14. Floppy Facelift does not take up precious space on the floppy disks it colours.
  15.  
  16. Floppy Facelift does its work automatically on every floppy inserted.
  17.  
  18. Floppy Facelift does patch the system, but:
  19. • The patch is small, and takes up less than 256 bytes of memory.
  20. • Although it is not a ‘fat’ patch, it does not affect performance much, since the patch is only executed when a disk is mounted.
  21.  
  22. Disadvantages of Floppy Facelift I can think of:
  23.  
  24. Floppy Facelift writes to inserted floppies in order to give it its custom icon (it does change only a single bit, though, not even changing the modification date of the floppy)
  25.  
  26. Floppy Facelift makes it impossible to change a floppy’s icon, since, when a user tries to change a custom icon, the Finder can not handle a file with the custom icon bit set which does not actually have a custom icon (when displaying a custom icon, however, it is smart enough to look inside the System file if it can not find one on disk.)
  27.  
  28. Floppy Facelift does not make it easy to change the coloured floppy disk icon from the one inside the System Folder. The easiest way I am aware of is changing the icon inside the System file proper (and no, adding a fake font suitcase containing a replacement coloured icon does not seem to work.)
  29.  
  30. Floppy Facelift makes it impossible to discriminate DOS floppies and Macintosh floppies, since they get identical icons.
  31.  
  32. Programmers information:
  33.  
  34. Floppy Facelift works by tail patching MountVol. If Mounting was succesful, and the volume mounted was a floppy drive, the custom icon bit for the root directory of the floppy is set, but no custom icon is written to the disk. For floppies with the custom icon set, but no custom icon on disk, the Finder uses the coloured floppy disk icon with ID -3998 from the System file.
  35.  
  36. Acknowledgements:
  37.  
  38. Bo Lindbergh (d88-bli@xbyse.nada.kth.se) supplied me with the essential information to get this working:
  39.  
  40. "Just set the kHasCustomIcon bit for the floppy without providing any icon
  41.  data. The Finder will then use icon suite -3998 from the System file."
  42.  
  43. Reinder Verlinde (reinder@neuretp.biol.ruu.nl)
  44.  
  45. Version History
  46.  
  47. 1.0 «960327» Original release
  48.